﻿using System;
using DMS.Business.Modules.Organization;
using DMS.Business.Utility;

namespace DMS.Web.Common.Controls
{
    public partial class NewFlow1 : System.Web.UI.UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                AuthenticationUser user = SystemContext.Current.LoginAuthUser;
                if (user.IsInRole("配送管理员"))
                {
                    ClientHelper.Instance.RenderScript(Page, "", "showFlow('paymentFlow')");
                }
            }
        }
    }
}